package com.lsht.system.domain.siwei;

import com.lsht.common.annotation.Excel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * 设备管理对象 siwei_device
 *
 * @author zyc
 * @date 2024-08-14
 */
@Data
public class SiweiDevice {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    private String id;

    /**
     * 设备唯一标识
     */
    @ApiModelProperty(value = "设备唯一标识")
    @Excel(name = "设备名称")
    private String deviceNumber;

    /**
     * 模型ID
     */
    @ApiModelProperty(value = "模型ID")
    private String modelId;

    /**
     * 设备状态
     */
    @ApiModelProperty(value = "设备状态（0正常 1故障 2报警）")
    @Excel(name = "设备状态")
    private String deviceStatus;

    /**
     * 设备图标
     */
    @ApiModelProperty(value = "设备图标(此处存放图片id)")
    private String deviceIcon;

    /**
     * 关联点位ID
     */
    @ApiModelProperty(value = "关联点位ID")
    private String pointId;

    /**
     * 负责人
     */
    @ApiModelProperty(value = "负责人")
    @Excel(name = "负责人")
    private String deviceHead;

    /**
     * 电话
     */
    @ApiModelProperty(value = "电话")
    private String phone;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "修改时间")
    private Date updateTime;

    @ApiModelProperty(value = "模型名称（联查列表使用）")
    private String modelName;

    @ApiModelProperty(value = "时间数组(条件查询使用)")
    private List<String> date;

    private String beginTime;

    private String endTime;

    @ApiModelProperty(value = "所属区域")
    @Excel(name = "所属区域")
    private String region;

    @ApiModelProperty(value = "设备类型")
    @Excel(name = "设备类型")
    private String deviceType;


    @ApiModelProperty(value = "设备地址")
    private String deviceAddress;

    @ApiModelProperty(value = "设备使用状态 0 未使用 1 使用")
    private Integer useStatus;

    @ApiModelProperty(value = "设备图片地址")
    private String deviceUrl;

    @ApiModelProperty(value = "设备型号")
    @Excel(name = "设备型号")
    private String deviceModel;

    @ApiModelProperty(value = "备注")
    private String remarks;


    @ApiModelProperty(value = "设备自动生成的唯一编码")
    @Excel(name = "设备编号")
    private String deviceNum;

    @ApiModelProperty(value = "部门id")
    private Long deptId;
}
